package com.zx.demo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;

/**
 * @author Zx
 * @date 2021/2/22 17:17
 * @modified By:
 */
@RestController
public class FlowLimitController {


    @GetMapping("/testA")
    public String testA() {
        return "======testA======";
    }

    @GetMapping("/testB")
    public String testB() {
        return "======testB======";
    }
}